<tagLib name="html" />
<include file="Public:top" />
<style>
input{margin-bottom:10p;}
tr{ height:38px;}
</style>
<script>
var editor;
KindEditor.ready(function(K) {
	editor = K.create('textarea[name="remarks"]', {
		width:'600px',height:'300px',allowFileManager:true,
		items : [
			'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
			'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
			'insertunorderedlist', '|', 'emoticons', 'image', 'link','flash','media','insertfile','map']
	});
});
function save(){
	$('#remarks').val(editor.html());
	$.post("__URL__/insert/",$('#form1').serialize(),function(data){
		$.messager.show({title:'提示信息',msg:data.info,timeout:2000,showType:'slide'});
	}//function
	,"json");//post	
}
</script>
<div id="main" class="" >
<div class="content">
<div class="title">新增托管机构信息 [ <a href="__URL__">返回列表</a> ]</div>
<form method='post' id="form1" action="__URL__/insert/" >
  <table width="95%">
    <tr>
      <td colspan="2" rowspan="2" valign="top" class="tRight"><table width="100%" border="0" cellspacing="0" cellpadding="2">
        <tr>
          <td class="tRight">机构名称：</td>
          <td align="left"><input type="text" name="jgmc" id="jgmc" class="medium bLeft" value="" /></td>
        </tr>
        <tr>
          <td class="tRight">地址：</td>
          <td align="left"><input type="text" name="dz" id="dz" class="medium bLeft" value="" /></td>
        </tr>
        <tr>
          <td class="tRight">建筑面积：</td>
          <td align="left"><input type="number" name="jzmj" id="jzmj" class="medium bLeft" value="" /></td>
        </tr>
        <tr>
          <td class="tRight">物业来源：</td>
          <td align="left"><SELECT class="medium bLeft"  name="wyly" title="物业来源">
    <option value=""></option>
	<option value="自主">自主</option>
	<option value="租赁">租赁</option>
	</SELECT></td>
        </tr>
        <tr>
          <td class="tRight">消防：</td>
          <td align="left"><SELECT class="medium bLeft"  name="xf" title="消防">
    <option value=""></option>
	<option value="验收">验收</option>
	<option value="备案">备案</option>
	</SELECT></td>
        </tr>
        <tr>
          <td class="tRight">卫生：</td>
          <td align="left"><SELECT class="medium bLeft"  name="ws" title="卫生">
    <option value=""></option>
	<option value="有">有</option>
	<option value="无">无</option>
	</SELECT></td>
        </tr>
        <tr>
          <td class="tRight">工商：</td>
          <td align="left"><SELECT class="medium bLeft"  name="gs" title="工商">
    <option value=""></option>
	<option value="有">有</option>
	<option value="无">无</option>
	</SELECT></td>
        </tr>
        <!--<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="status">
	<option value="1">启用</option>
	<option value="0">禁用</option>
	</SELECT></td>
	<td class="tLeft">&nbsp;</td>
</tr>-->
<tr>
	<td></td>
	<td class="tLeft"><input type="hidden" name="ajax" value="1">
	<input type="button" value="保 存" onclick="save()" class="small submit">
	<!--<input type="reset" class="submit  small" value="清 空" >--></td>
	<td class="center">&nbsp;</td>
</tr>
      </table></td>
      <td rowspan="2">&nbsp;</td>
      <td>托管机构详细信息：</td>
    </tr>
    <tr>
      <td valign="top" id="dlg_remarks"><textarea class=""  name="remarks" rows="5" cols="57" id="remarks"></textarea></td>
    </tr>
  </table>
</form>
</div>
</div>
